package com.sleepapp.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sleepapp.entity.RedemptionRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sleepapp.vo.RecordQueryAllVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 兑换记录表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2025-03-13
 */
public interface RedemptionRecordDao extends BaseMapper<RedemptionRecord> {

    IPage<RecordQueryAllVo> getAll(Page<RecordQueryAllVo> page, @Param("userId") Long userId);
}
